package com.candy.pojo;

public class StudentInfo {
    private Integer userid;

    private String username;

    private String userpwd;

    private String useraddress;

    private String usetel;

    public StudentInfo(Integer userid, String username, String userpwd, String useraddress, String usetel) {
        this.userid = userid;
        this.username = username;
        this.userpwd = userpwd;
        this.useraddress = useraddress;
        this.usetel = usetel;
    }

    public StudentInfo() {
        super();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd == null ? null : userpwd.trim();
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress == null ? null : useraddress.trim();
    }

    public String getUsetel() {
        return usetel;
    }

    public void setUsetel(String usetel) {
        this.usetel = usetel == null ? null : usetel.trim();
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", useraddress='" + useraddress + '\'' +
                ", usetel='" + usetel + '\'' +
                '}';
    }
}